<template>
	<view style="padding-top: 50rpx;">
		<view class="carp" v-for="(item,index) in 5">
			<image src="https://img1.baidu.com/it/u=1695620879,2798080271&fm=253&fmt=auto&app=138&f=JPEG?w=705&h=470" />
			<view class="carp_1">
				<view class="carp_1_1">
					给管理者的沟通训练营
					给管理者的沟通训练营
				</view>
				<view class="carp_1_2">
					<text>2021-10-10 12:00:00</text>
					<text>查看</text>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.carp {
		display: flex;
		justify-content: space-between;
		width: 92%;
		margin: 0 auto 50rpx;

		.carp_1 {
			position: relative;
			width: 60%;

			.carp_1_2 {
				display: flex;
				align-items: center;
				width: 100%;
				justify-content: space-between;
				position: absolute;
				bottom: 0;

				text:nth-of-type(2) {
					font-size: 30rpx;
					font-family: Source Han Sans CN;
					font-weight: 500;
					color: #703F00;
					opacity: 1;
					display: inline-block;
					width: 140rpx;
					height: 58rpx;
					background: #FFD500;
					line-height: 58rpx;
					text-align: center;
					opacity: 1;
					border-radius: 29px;
				}

				text:nth-of-type(1) {
					font-size: 22rpx;
					font-family: HarmonyOS Sans;
					font-weight: 400;
					color: #141414;
					opacity: 1;
				}
			}

			.carp_1_1 {
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #333333;
				opacity: 1;
			}
		}

		image {
			width: 240rpx;
			height: 160rpx;
			border-radius: 8rpx;
		}
	}
</style>
